import {apiList,commonApiList} from "./utils/api";
import {clone,href,log} from "./utils/common";
import App from "./App.vue";
import Vue from "vue";
import preventReClick from "./utils/plugins.js";
import "./components/colorui/main.css";
import "./components/colorui/icon.css";
import share from './common/share.js'
Vue.config.productionTip = false;

// 全局引入api配置
Vue.prototype.$api = apiList;
Vue.prototype.$commonApi = commonApiList;

// 点击事件防抖
Vue.prototype.$preventReClick= preventReClick ;
Vue.mixin(share)
// 创建小程序界面事件广播 ；
export const bus = new Vue() ;

// 注册深拷贝方法
Vue.prototype.$clone = clone;
Vue.prototype.$href = href;
Vue.prototype.$log = log;

new App().$mount();
